import React from 'react'
import { Card, Button } from 'antd'
import View from '@/components/View'
import Intro from '@/utils/intro'
import Steps from './steps'


const guide = () => {
  Intro.setOptions({ steps: Steps})
  Intro.start()
}

const Guide = () => {
  return (
    <View className="app-guide">
      <Card type="inner" title="引导页">
        <Button type="primary" className="app-guide-primary" onClick={guide}>
          打开引导
        </Button>
      </Card>
    </View>
  )
}

export default Guide
